package com.spring.appservice.web.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.multipart.MultipartFile;

import com.spring.security.web.model.BaseResult;


public interface MainShowService {
	
	BaseResult getLastAppVersion(String packageName,String appID,String appType);
	
	Map<String,Object> homeShow(String kids_parkID,String token) throws Exception ;
	
	BaseResult banner(String bannerType,String skip,String rows);
	
	BaseResult getActivitiesList(String kidsParkID,String skip,String rows) throws Exception;
	BaseResult getNewsList(String newsID,String newsType,String skip,String rows,HttpServletRequest request)  throws Exception;

	Map<String,Object> getProductShowDetail(String productShowID);
	
	Map<String,Object> productShow(String kids_parkID);
	Map<String,Object> meShow(String token) ;
	
	BaseResult zoneInfo(String token,String zoneType) ;
	Map<String,Object> updateZoneInfo(String babyID,String zoneType, String title, MultipartFile avatar, MultipartFile cover,String token)
			throws Exception;
	
	
	
	Map<String,Object> timeline(String babyID,String pageSize,String pageIndex,String skip,String rows,String token,String isTeacher) ;
	
	Map<String,Object> courseList(String categoryId,String kids_parkID,String pageSize,String pageIndex,String skip,String rows,String token);
	Map<String,Object> teacherList(String kids_parkID,String pageSize,String pageIndex,String skip,
			String rows,String token);
	Map<String,Object> freePackage(String kids_parkID,String pageSize,String pageIndex,String skip,
			String rows);
	
	Map<String,Object> bookProduct(String productId, String productType, String name, 
			String babyAge, String mobile, String captcha) throws Exception;
	Map<String,Object> lessonList(String attendType, String startTime,
			String endTime, String skip, String rows, String pageSize, String pageIndex,String token);
	Map<String,Object> lessonDetail(String token,String appointmentID);
	
	Map<String,Object> userPackage(String userPackageId);
	Map<String,Object> consumingRecord(String token,String id, String idType, String skip, String rows,
			String pageSize, String pageIndex);
	Map<String,Object>  getCourseComment(String lessonId, String skip, String rows, String pageSize, String pageIndex);
	Map<String,Object> commentLesson(String token,String lessonId, String content, String score) throws Exception;

	Map<String,Object> feedback(String userID,String feedbackTypeCode,String content, String mobile, String name) throws Exception;
	
	 Map<String,Object> getMemberCardStatus(String token) throws Exception;
	 
	 Map<String,Object> updateMemberIsValid(String memberCard,String token,HttpServletRequest request) throws Exception;
	 
	 Map<String, Object> createInviteCode(String token,String roleId) throws Exception;
	 
	 Map<String,Object> acceptInvite(String token,String inviteCode) throws Exception;
	Map<String, Object> UnUsedInvites(String token);
	

	Map<String, Object> getAppointmentList(String userName,String productTypeCode,String skip, String rows, String pageSize, String pageIndex,
			String EntityAvailableState) throws Exception;
	
	BaseResult getBabyListOrderByName(String kidsParkID) throws Exception;
	
	BaseResult teacherCreateJournal(com.spring.appservice.web.requestModel.Journal jouranl) throws Exception;
	
	BaseResult getMyBabyList(String token,String babyID) throws Exception;

	Map<String, Object> homeMemberShow(String kids_parkID, String token) throws Exception ;
	
	BaseResult kidsPark() throws Exception;
	
	BaseResult teacherAddPhoto(String my_space_journal_id,String file,String token) throws Exception;
	BaseResult teacherAddVideo(String my_space_journal_id,String file,String token) throws Exception; 
}
